package mylibrary.rmi.calculator;

import java.rmi.Naming;

public class CalculatorClient {

	public static void main(String[] args) {
		
		try {
			
			Calculator c = (Calculator) Naming.lookup("rmi://localhost:1099/CalculatorService");
			
			System.out.println(c.mul(10, 5));
			
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
